void mystrncpy(char *s,char *t,int n)
{
  while(n--)
  {
      *s++ = *t++;
  }
  *s = '\0';
}  
